package com.gvsoft.analyse.order;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.gvsoft.analyse.inf.IClientOrder;
import com.gvsoft.busi.MsgInfo;

/**
 * Created with IntelliJ IDEA.
 * ProjectName:gvMsgClient
 * Author: zhaoqiubo
 * Date: 15/8/13
 * Time: 下午3:47
 * Desc:
 */
public class ClientMsgOrder extends ClientOrder implements IClientOrder{
    public final static String HEADER = "M";
    private MsgInfo msgInfo;
    public void initClientMsgOrder(MsgInfo msgInfo){
        this.body = JSON.toJSONString(msgInfo, SerializerFeature.WriteMapNullValue);
        this.rid=getNewRid();
    }
}
